#ifndef THREAD_H
#define THREAD_H

#include <QMainWindow>
#include <QObject>
#include <QWidget>
#include <QThread>

class Thread : public QThread
{
    Q_OBJECT
public:
    Thread();

    //重要的目的是重写父类的run方法
    void run() override;
signals:
    void notify();
};

#endif // THREAD_H
